import request from "../utils/request";


export const loginApi = (data: { username: string; password: string }) =>
  request.post("/login", data);

export const getUserInfoApi = () => request.get("/user/info");
